package org.iteracionII.dom;
public class Gestor_Registrar_Libro {
	public Libro unnamed_Libro_;

	public boolean registrarLibro(String tit, String aut, String sig, String is) throws Exception{
            boolean bool = false;
            
            Libro lib = new Libro(tit,aut,sig,is);
            if (tit == null || aut == null || sig == null || is == null) bool = false;
            else if (lib.ComprobarExiste(tit, aut, sig, is) != 0) bool = false;
            else if (lib.create() == 1) bool = true;
            
            return bool;
	}
}